package com.funsolution.taskhey.dao.person;

import javax.persistence.EntityManager;

import com.funsolution.taskhey.domain.Person;

public interface PersonDao {

	
	public Person save(Person person);
	
	public Person findByUsername(String username);
	
	public Person findByUsernameOrPassword(String username,String password);
	
	public void setEntityManager(EntityManager entityManager);
}
